package com.cljz.makepassenger.model.net.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/5/3.
 */

public class ActivityIndexBean implements IModel{


    /**
     * error_code : 0
     * msg : 成功
     * data : {"activity":[{"id":"142","title":"在一起时会","img_path":"http://aaa.com/Public/uploads/app/2017-05-24/5925419cd8a66.png"},{"id":"126","title":"我的","img_path":"http://aaa.com/Public/uploads/app/2017-05-23/592397e42dd5d.png"},{"id":"125","title":"有个人都在说啥呢？我在想我会努力去实现自","img_path":"http://aaa.com/Public/uploads/app/2017-05-23/5923973026139.png"},{"id":"124","title":"I'm so proud of you","img_path":"http://aaa.com/Public/uploads/app/2017-05-23/59239476f2198.png"},{"id":"123","title":"去不应季的地方，度永不过季的假期","img_path":"http://aaa.com/Public/uploads/app/2017-05-20/591f8c072361c.png"},{"id":"122","title":"五天五天五","img_path":"http://aaa.com/Public/uploads/app/2017-05-19/591ef59f08328.png"}],"ad":[{"id":"37","ad_name":"首页的一个广告","link_type":"0","ad_link":"","ad_logo":"http://aaa.com/Public/uploads/2017-06-13/593fba46980cc_5_3.png","ad_logo_small":"http://aaa.com/Public/uploads/2017-06-13/593fba46980cc_1_1.png"}]}
     */

    private String error_code;
    private String msg;
    private DataBean data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean {
        private List<ActivityBean> activity;
        private List<AdBean> ad;

        public List<ActivityBean> getActivity() {
            return activity;
        }

        public void setActivity(List<ActivityBean> activity) {
            this.activity = activity;
        }

        public List<AdBean> getAd() {
            return ad;
        }

        public void setAd(List<AdBean> ad) {
            this.ad = ad;
        }

        public static class ActivityBean {
            /**
             * id : 142
             * title : 在一起时会
             * img_path : http://aaa.com/Public/uploads/app/2017-05-24/5925419cd8a66.png
             */

            private String id;
            private String title;
            private String img_path;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImg_path() {
                return img_path;
            }

            public void setImg_path(String img_path) {
                this.img_path = img_path;
            }
        }

        public static class AdBean {
            /**
             * id : 37
             * ad_name : 首页的一个广告
             * link_type : 0
             * ad_link :
             * ad_logo : http://aaa.com/Public/uploads/2017-06-13/593fba46980cc_5_3.png
             * ad_logo_small : http://aaa.com/Public/uploads/2017-06-13/593fba46980cc_1_1.png
             */

            private String id;
            private String ad_name;
            private String link_type;
            private String ad_link;
            private String ad_logo;
            private String ad_logo_small;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAd_name() {
                return ad_name;
            }

            public void setAd_name(String ad_name) {
                this.ad_name = ad_name;
            }

            public String getLink_type() {
                return link_type;
            }

            public void setLink_type(String link_type) {
                this.link_type = link_type;
            }

            public String getAd_link() {
                return ad_link;
            }

            public void setAd_link(String ad_link) {
                this.ad_link = ad_link;
            }

            public String getAd_logo() {
                return ad_logo;
            }

            public void setAd_logo(String ad_logo) {
                this.ad_logo = ad_logo;
            }

            public String getAd_logo_small() {
                return ad_logo_small;
            }

            public void setAd_logo_small(String ad_logo_small) {
                this.ad_logo_small = ad_logo_small;
            }
        }
    }
}
